home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bdump.arc
/
BDUMP.DOC
next >
Wrap
Text File
|
1987-07-19
|
4KB
|
104 lines
BDUMP - A Btrieve File Dump Utility
-----------------------------------
by Steve Liberty
Ver 1.0 -- July 1987
*** This documentation file has been abreviated for the demo version. ***
The BDUMP.EXE program is a file dump utility that displays the records of
a Btrieve file in both hex and ASCII in the usual dump format. Each record
is dumped separately with an offset heading, 16 bytes per line.
If BDUMP is entered without any command tail, the help screen will be
displayed.
There are several command line parameters that can be specified to invoke
BDUMP options. The general command syntax is:
BDUMP filename /option:parameter /option
Some options have parameters and other do not. Each option is described
below.
/seq:aa Select aa as the number of the key to use in sequencing the
records. The defult key is 0.
/start:bb Start dumping from record number bb according to the
selected or default key sequence. The default is record 1.
/end:cc Stop dumping after record number cc according to the
selected or default key sequence. The default is record
2147483647. This is also the highest record number that
BDUMP can reliably handle.
/key:dddd Dump only the records whose key matches dddd for the
length of dddd, using the default or selected key
sequence. This option has no default.
/fkey:eeee Start dumping from the first record whose key matches
eeee for the length off eeee, or is greater than it.
The default is all NULL characters.
/lkey:ffff Stop dumping after the last record whose key matches
ffff for the length off ffff, or is less than it.
The default is all ASCII 122 characters.
/pause Pause display after each record.
/print Print the dump instead of displaying it.
Each option is totally optional and non-positional. If /start and/or /end
parameters are given, the /key, /fkey, and /lkey parameters will be ignored
if they are also present. If /fkey and/or /lkey parameters are given, the
/key parameter will be ignored if it is also present.
Example 1.
----------
bdump account.dat /start:10 /end:25 /seq:2
Use key field 2 to search file account.dat. Dump the 10th through 25th
records found.
Example 2.
----------
bdump employee.dat /seq:1 /key:Jones
Use key field 1 to search file employee.dat. Dump all records with key whose
first five characters are equal to Jones.
Example 3.
----------
bdump staff.dat /start:5 /key:Smith
Use default key field 0 to search file staff.dat. Dump all records starting
with record five. Ignore key parameter.
Example 4.
----------
bdump staff.dat /fkey:Jones /lkey:Smith
Use default key field 0 to search file staff.dat. Begin dump with records
whose first five characters are greater than or equal to Jones, and continue
until after dumping the last record whose first five characters are less than
or equal to Smith.
If you find the program to be of interest to you, you can obtain
the full version by sending a check for $35.00 to:
Steve Liberty
36 Van Pelt Ct.
East Brunswick NJ, 08816
See the READ.ME file for more information.